<?php

$email = array (
  0 => 'hello1@gmail.com',
  1 => '" hello2@gmail.com "',
  11 => 'hello2@gmail.com',
  2 => 'hello3@gmail.com',
  22 => '',
  3 => 'hello4@gmail.com',
  4 => '" hello5@gmail.com "',
  44 => '0',
  5 => 'hello6@gmail.com',
  5 => false,
  66 => 'hello7@gmail.com',
  6 => null,
  'zero' => 0,
  666 => 'hello7@gmail.com',
);
print_r($email);
$email = array_filter($email);
$keys = array_keys($email);
$email = array_unique($email);

$email = array_values($email);

var_export($email);

